package com.yishan.controller;

import com.yishan.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: yishan
 * @Date: 2022/1/6 15:18
 **/
@RestController
@RequestMapping("login")
public class LoginController {

    @Autowired
    private LogService logService;

    @GetMapping("login")
    public String login(){
       return logService.addLog();
    }

}
